﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace BackendDeveloper_WS.Models
{
    public class WorkOrder
    {
        public int id { get; set; }
        public string description { get; set; }
        public string address { get; set; }
        public DateTime creationDate { get; set; }
        public Double longitude { get; set; }
        public Double latitude { get; set; }


        public WorkOrder(int id, string description, string address, DateTime creationDate, Double longitude, Double latitude)
        {
            this.id = id;
            this.description = description;
            this.address = address;
            this.creationDate = creationDate;
            this.longitude = longitude;
            this.latitude = latitude;
        }
    }
}